package com.webemail.email.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.webemail.email.entity.Email;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author LaiHQ
 */
@Mapper
public interface EmailMapper extends BaseMapper<Email> {
    /**
     * 查询最大的uid
     * @param currAccount
     * @param folderFullName
     * @return
     */
    Long selectLastUid(@Param("currAccount") String currAccount,@Param("folderFullName") String folderFullName);
}
